home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / cperf-21.lha / cperf-2.1 / src / Makefile < prev    next >
Encoding:
Makefile  |  1989-11-04  |  3.5 KB  |  78 lines

  1. # Copyright (C) 1989 Free Software Foundation, Inc.
  2. # written by Douglas C. Schmidt (schmidt@ics.uci.edu)
  3. # This file is part of GNU GPERF.
  4. # GNU GPERF is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 1, or (at your option)
  7. # any later version.
  8. # GNU GPERF is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11. # GNU General Public License for more details.
  12. # You should have received a copy of the GNU General Public License
  13. # along with GNU GPERF; see the file COPYING.  If not, write to
  14. # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 
  15.  
  16. CC = gcc
  17. DFLAGS= -DLO_CAL -DGATHER_STATISTICS #-DRLIMIT_STACK 
  18. OFLAGS= -O -p -g -fstrength-reduce -fomit-frame-pointer -fdelayed-branch -finline-functions # gcc options 
  19. CFLAGS= $(DFLAGS) $(OFLAGS)
  20. OBJS = options.o iterator.o main.o perfect.o keylist.o listnode.o xmalloc.o \
  21.        hashtable.o boolarray.o readline.o stderr.o version.o getopt.o
  22. SOURCES = options.c iterator.c main.c perfect.c keylist.c listnode.c xmalloc.c \
  23.        hashtable.c boolarray.c readline.c stderr.c version.c getopt.c
  24.  
  25. all: gperf
  26.  
  27. gperf: $(OBJS) 
  28.     $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
  29.  
  30. clean: 
  31.     -rm -f *.o core *~ #*#
  32.  
  33. realclean: clean
  34.     -rm -f gperf
  35.  
  36. # dependencies
  37. # DO NOT DELETE THIS LINE -- mkdep uses it.
  38. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
  39.  
  40. boolarray.o: boolarray.c /usr/include/stdio.h boolarray.h prototype.h options.h
  41. boolarray.o: /usr/include/stdio.h prototype.h
  42. getopt.o: getopt.c /usr/include/stdio.h
  43. hashtable.o: hashtable.c /usr/include/stdio.h hashtable.h keylist.h
  44. hashtable.o: /usr/include/stdio.h listnode.h prototype.h prototype.h options.h
  45. hashtable.o: /usr/include/stdio.h prototype.h
  46. iterator.o: iterator.c /usr/include/stdio.h /usr/include/ctype.h iterator.h
  47. iterator.o: prototype.h
  48. keylist.o: keylist.c /usr/include/assert.h /usr/include/stdio.h options.h
  49. keylist.o: /usr/include/stdio.h prototype.h readline.h prototype.h keylist.h
  50. keylist.o: /usr/include/stdio.h listnode.h prototype.h hashtable.h keylist.h
  51. keylist.o: prototype.h stderr.h prototype.h /usr/include/varargs.h
  52. listnode.o: listnode.c /usr/include/stdio.h options.h /usr/include/stdio.h
  53. listnode.o: prototype.h listnode.h prototype.h stderr.h prototype.h
  54. listnode.o: /usr/include/varargs.h
  55. main.o: main.c /usr/include/stdio.h stderr.h prototype.h /usr/include/varargs.h
  56. main.o: options.h /usr/include/stdio.h prototype.h perfect.h prototype.h
  57. main.o: keylist.h /usr/include/stdio.h listnode.h prototype.h boolarray.h
  58. main.o: prototype.h
  59. options.o: options.c /usr/include/stdio.h /usr/include/assert.h options.h
  60. options.o: /usr/include/stdio.h prototype.h iterator.h prototype.h stderr.h
  61. options.o: prototype.h /usr/include/varargs.h
  62. perfect.o: perfect.c /usr/include/stdio.h /usr/include/assert.h
  63. perfect.o: /usr/include/ctype.h options.h /usr/include/stdio.h prototype.h
  64. perfect.o: perfect.h prototype.h keylist.h /usr/include/stdio.h listnode.h
  65. perfect.o: prototype.h boolarray.h prototype.h stderr.h prototype.h
  66. perfect.o: /usr/include/varargs.h
  67. readline.o: readline.c /usr/include/stdio.h readline.h prototype.h
  68. stderr.o: stderr.c /usr/include/stdio.h stderr.h prototype.h
  69. stderr.o: /usr/include/varargs.h
  70. version.o: version.c
  71. xmalloc.o: xmalloc.c /usr/include/stdio.h
  72.  
  73. # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
  74.